﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    class Ailuoke : Base
    {

        //public Ailuoke(string nickName)
        //{
        //    this.NickName = nickName;
        //    this.HeroName = "埃洛克";
        //    this.HeroInfo = "他是一名来自末日边境的英雄";
        //    this.Atrack = 80;
        //    this.Protect = 60;
        //    this.Speed = 40;

        //}
        public Ailuoke(string heroName, string heroInfo, string nickName, int atrack, int protect, int speed) : base(heroName, heroInfo, nickName, atrack, protect, speed) { }
        public void Common()
        {
            Console.WriteLine("他的名字是{0}，是{1}，技能是{2}，攻击力是{3},防御力是{4}，速度{5}", HeroName, HeroInfo, NickName, Atrack, Protect, Speed);

        }
    }
}

